
  //判断是否已经登录了
  let username = sessionStorage.getItem('username') || localStorage.getItem('username');
  if(!username){
    location.href='login.html';
  }else{
    $("#currentUser").html(username);
  }
